package es.cazadoresmadridejos.beans.controller.partner;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;

import es.cazadoresmadridejos.model.Partner;

@Controller
public class PartnerProfileController {

	@RequestMapping("/partnerProfile.html")
	public ModelAndView profile(
			@RequestParam("partner")Partner partner
			){
		ModelAndView mv = new ModelAndView();
		
		mv.addObject("partner", partner);
		
		return mv;
	}
}
